interface Person {
    name: string;
    age: number;
}

function Demo(person: Person) {
  return (
    <div className="Demo">
        <p>我叫{person.name},今年{person.age}岁了</p>
    </div>
  )
}

export default Demo
